package host

import "github.com/gogf/gf/util/gconv"
// Fill with you ideas below.

func (r *Entity) PkVal() int {
	return gconv.Int(r.Id)
}

func (r *Entity) TableName() string {
	return Table
}

func (m *arModel) Columns() string {
	sqlColumns := "t.id, t.hostname, t.ipaddr, t.signin_user as signinUser, t.signin_password as signinPassword, t.signin_port as signinPort, t.area, t.remark, t.status,t.user_id as userId, t.system_id as systemId, t.update_time as updateTime, t.update_id as updateId, t.create_time as createTime, t.create_id as createId"
	return sqlColumns
}